﻿using Model;

namespace IBll
{
    public interface IEmpBll
    {
        Task<int> AddEmp(Employee employee);
        Task<int> UpdateEmp(Employee employee);
        Task<int> AddEmpType(EmyployeeType emyployeeType);
        object getAll(int pageindex=1, int pagesize=3);
        IQueryable<EmyployeeType> emyployeeTypes();
        Employee Find(int id);
    }
}
